<?php /* Smarty version 2.6.16, created on 2009-04-19 23:14:19
         compiled from FavoriteProfileMusic.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'FavoriteProfileMusic.html', 7, false),array('function', 'url', 'FavoriteProfileMusic.html', 27, false),array('function', 'img', 'FavoriteProfileMusic.html', 28, false),)), $this); ?>
<table width="100%" cellpadding="4" cellspacing="0">
<tr>
	<td class="border2">
		<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
				<td class="block_header"><?php echo smarty_function_language(array('text' => 'favorite_music'), $this);?>
</td>
			</tr>
		</table>
        
        <?php if ($this->_tpl_vars['aAlbums'] || $this->_tpl_vars['aSongs']): ?>
        <table style="width:100%;height:270px;" cellspacing="0" cellpadding="0">
        <tr>
            <td style="font-size:7pt;vertical-align:top;">
            <?php if (count ( $this->_tpl_vars['aAlbums'] )): ?>
            <br />
            <table cellspacing="5" cellpadding="4" border="0" width="100%">
            <tr>
                <td class="block_header"><?php echo smarty_function_language(array('text' => 'albums'), $this);?>
</td>
            </tr>
            <?php $_from = $this->_tpl_vars['aAlbums']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['aAlbum']):
?>
            <tr>
                <td class="border2">
                    <table cellspacing="0" cellpadding="0">
                    <tr>
                    <td style="width: 30%; text-align: center;">
                        <a href="<?php echo smarty_function_url(array('link' => 'public.music.album','id' => $this->_tpl_vars['aAlbum']['album_id']), $this);?>
">
                        <?php echo smarty_function_img(array('src' => ($this->_tpl_vars['sAlbumsUrl']).($this->_tpl_vars['aAlbum']['album_id']).".jpg",'src_def' => 'design/pic/noimage_120.jpg','class' => 'pic1','onmouseover' => "this.className='pic2';",'onmouseout' => "this.className='pic1';"), $this);?>

                        </a><br />
                    </td>
                    <td class="color" style="font-size: 8pt; vertical-align: top; width: 70%;padding:4px;">
                        <b><?php echo smarty_function_language(array('text' => 'musician'), $this);?>
:</b>&nbsp;<a class="link_description" href="<?php echo smarty_function_url(array('link' => 'public.music.musician','id' => $this->_tpl_vars['aAlbum']['musician_id']), $this);?>
"><?php echo $this->_tpl_vars['aAlbum']['musician_name']; ?>
</a><br /><br />
                        <b><?php echo smarty_function_language(array('text' => 'album'), $this);?>
:</b>&nbsp;<a class="link_description" href="<?php echo smarty_function_url(array('link' => 'public.music.album','id' => $this->_tpl_vars['aAlbum']['album_id']), $this);?>
"><?php echo $this->_tpl_vars['aAlbum']['album_title']; ?>
</a><br /><br />
                        <?php if ($this->_tpl_vars['aAlbum']['album_year']): ?><b><?php echo smarty_function_language(array('text' => 'year'), $this);?>
:</b>&nbsp;<?php echo $this->_tpl_vars['aAlbum']['album_year'];  endif; ?>
                    </td>
                    </tr>
                    </table>
                </td>
            </tr>
            <?php endforeach; endif; unset($_from); ?>
            </table>
            <?php endif; ?>
            <?php if (count ( $this->_tpl_vars['aSongs'] )): ?>
            <table cellspacing="5" cellpadding="4" border="0" width="100%">
            <tr>
                <td class="block_header"><?php echo smarty_function_language(array('text' => 'songs'), $this);?>
</td>
            </tr>
            <?php $_from = $this->_tpl_vars['aSongs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['songs1'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['songs1']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['aSong']):
        $this->_foreach['songs1']['iteration']++;
?>
            <tr <?php if ($this->_foreach['songs1']['iteration'] % 2): ?>class="border13"<?php endif; ?>>
                <td width="65%" style="font-size:8pt;padding:5px;"><a class="link_description" href="<?php echo smarty_function_url(array('link' => 'public.music.musician','id' => $this->_tpl_vars['aSong']['musician_id']), $this);?>
"><?php echo $this->_tpl_vars['aSong']['musician_name']; ?>
</a> - <a class="link_description" href="<?php echo smarty_function_url(array('link' => 'public.music.song','id' => $this->_tpl_vars['aSong']['song_id']), $this);?>
"><?php echo $this->_tpl_vars['aSong']['song_title']; ?>
</a></td>
            </tr>
            <?php endforeach; endif; unset($_from); ?>
            </table>
            <?php endif; ?>
        </td>
            </tr>
        </table>
        <?php else: ?>
        <div class="message_info"><?php echo smarty_function_language(array('text' => 'there_is_no_favorite_music_yet'), $this);?>
</div>
        <?php endif; ?>


		</td>
	</tr>
</table>